import React from 'react';
import ReactDOM from 'react-dom';
import {Provider} from 'react-redux';
import createBrowserHistory from 'history/createBrowserHistory';


import AppRouter from './router';
import store from './store';

import './index.css';
// import registerServiceWorker from './registerServiceWorker';

const history = createBrowserHistory();


ReactDOM.render(
    <Provider store={store}>
        <AppRouter history={history}/>
    </Provider>,
    document.getElementById('root'));


// registerServiceWorker();
